package com.dailybule.java.mybatis.m2.bean;

import lombok.Data;

@Data
public class Emp {
    private Integer empno;
    private String enname1;
    private String job;
    private Integer mgr;
    private String hireDate;
    private Double sal;
    private Double comm;
    private Integer deptno;
    private Integer state;
    // 一个员工一定隶属于一个部门
    private Dept dept;
}